import _ from 'lodash';
import {
	defineStore
} from 'pinia';

const defaultTabbarStatus = {
	currentIndex: 0,
};

export const useTabbarStatusStore = defineStore({
	id: 'tabbarStatus',
	state: () => ({
		...defaultTabbarStatus,
	}),
	getters: {},
	actions: {
		setTabbarStatus(data) {
			this.currentIndex = data.currentIndex;
		},
	},
});